﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MShop.Core.Util
{
    public static class RegularContext
    {
        public const string ZipCode = @"^\d{6}$";
        public const string PhoneNo = @"^0\d{2,3}-\d{7,8}(-\d{3,})?$";
        public const string MobileNo = @"^1[35]\d{9}$";
        public const string Email = @"^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$";
        public const string Number = @"^\d+$";
    }
}
